<%@page import="java.io.*,java.util.*" language="java" pageEncoding="GBK"%>
<%@taglib prefix="s" uri="/struts-tags" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
	<link href="../css/1.css" rel="stylesheet" type="text/css" />
	<body class="body">
		<s:actionmessage />
		<div class="container">
		<div class="gameleft">
			<c:forEach var="g" items="${sessionScope.GameInfo}">
					<c:if test="${g.state==1}">
						<div class="image">
							<img src="../image/${g.gamePictureName}.jpg">
						</div>
						<div class="gamename">
							<a href="gameshow.jsp?gameName=${g.gameName}" target="mainFrame">${g.gameName}</a>
						</div>
					</c:if>
				
			</c:forEach>
			</div>
			<div class="flash">
				<embed src="../game/${param.gameName}.swf" width="600px"
					height="580px"  />
			</div>
		</div>
	</body>
</html>
